//
//  DeviceModel.h
//  Fantasia
//
//  Created by kongkong on 2016/11/6.
//  Copyright © 2016年 Kongkong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DataFilter.h"

@interface DeviceInfoModel : NSObject

@property(nonatomic, strong) NSDictionary *nameKey;
@property(nonatomic, strong) NSString *api;
@property(nonatomic, strong) NSString *action;

+ (DeviceInfoModel *)api:(NSString *)api action:(NSString *)action;

- (NSString *)titleWithIndex:(NSIndexPath *)index;

- (NSString *)detailWithIndex:(NSIndexPath *)index;

- (DataModel *)dataModelWithIndex:(NSIndexPath *)index;

- (void)relaodData:(void (^)())complete;

- (NSUInteger)count;

- (FilterGroup)group;
@end
